<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="contextPath" value="${pageContext.servletContext.contextPath}"/>
<!doctype html>
<html lang="nl">
<head>
<link rel="stylesheet" href="styles/default.css" />
<title>Meisjes Jongens</title>

</head>
<body>
<c:import url="/WEB-INF/JSP/menu.jsp" />
<h1>Meisjes Jongens</h1>
<c:url value="/meisjesjongens.htm" var="url" />
<form method="post" action="${url}">
  <input type="submit" name="meisjesjongens" value="meisjes"/>
  <input type="submit" name="meisjesjongens" value="jongens"/>
</form> 
<c:choose>
<c:when test="${meisjesjongens == 'meisjes'}">
<style type="text/css">
  body {
    color: red;
    background-color: pink;
     }
  </style>
  </c:when>
  <c:when test="${meisjesjongens == 'jongens'}">
<style type="text/css">
  body {
    color: black;
    background-color: blue;
     }
  </style>
  </c:when>
  </c:choose>
</body>
</html>